<template>
  <div class="box">
    <h3>父组件</h3>
    <h4>我的车：{{car}}</h4>
    <!-- <Child :che="car" @update:che="car = $event"/> -->
    <Child :che.sync="car"/>
  </div>
</template>

<script>
  import Child from './Child'

  export default {
    name: 'Index',
		components: {Child},
    data() {
      return {
        car:'奔驰'
      }
    },
  }
</script>

<style scoped>
	.box{
		background-color:rgb(165, 164, 164);
		padding: 20px;
    border-radius: 10px;
	}
</style>
